var gulp = require("gulp"),
    webserver = require("gulp-webserver");

gulp.task("webserver", function () {
  gulp.src("./")
      .pipe(webserver({
        //http://localhost:90/index.html
        open: true,
        directoryListening:{enable:true},
        fallback:'index.html',
        //port: 90,
        livereload: true, //实时刷新代码，不用f5刷新
        }));
  });
gulp.task("default", ["webserver"], function () {
  console.log("gulp is doing");
  })
